package com.datasure.converter;

import com.datasure.domain.entity.DeviceEx;
import com.datasure.presistence.dataobject.DeviceExDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author zhangxiaolong
 * @ClassName DeviceExDataConverter.java
 * @Description
 * @createTime 2022年01月14日 16:01:00
 */
@Mapper
public interface DeviceExDataConverter {
    DeviceExDataConverter INSTANCE = Mappers.getMapper(DeviceExDataConverter.class);

    DeviceEx fromData(DeviceExDO deviceExDO);

    DeviceExDO toData(DeviceEx deviceEx);
}
